package wkday12.demo02;

public class Test01 {
    public static void main(String[] args) {
        BaoZi bz = new BaoZi();

        ChiHuo ch1 = new ChiHuo("吃货1", bz);
        ChiHuo ch2 = new ChiHuo("吃货2", bz);
        BaoZiPu bzp1 = new BaoZiPu("包子铺1", bz);
//        BaoZiPu bzp2 = new BaoZiPu("包子铺2", bz);

        bzp1.start();
        ch1.start();
        ch2.start();

//        bzp2.start();
        
    }
}
